#![no_std]

extern crate alloc;

#[cfg(not(feature = "axstd"))]
compile_error!("net_cmd currently requires the `axstd` feature to provide std-like facilities.");

#[cfg(feature = "axstd")]
extern crate axstd as std;

pub mod ethernet;
pub mod tftp;

pub use ethernet::{
    Command as EthernetCommand, GmacStatus as EthernetGmacStatus, InterfaceMode,
    ParseError as EthernetParseError, Response as EthernetResponse, Status as EthernetStatus,
    USAGE_LINES as ETHERNET_USAGE_LINES,
};
pub use tftp::{
    Command as TftpCommand, Error as TftpError, Options as TftpOptions,
    ParseError as TftpParseError, Response as TftpResponse, USAGE_LINES as TFTP_USAGE_LINES,
};
